<{include file="common/header.tpl"}>
<style type="text/css">
table.tb_notice{
    display:table;
    width:80%;
}
table.tb_notice td.notice_title{
    width:100%;
	height:40px;
	line-height:40px;
   	border-bottom:1px solid #9cb8cc;
}
table.tb_notice td.notice_title strong{
    display:block;
    width:100px;
    font-size:15px;
    height:25px;
    line-height:25px;
    overflow:hidden;
}
input[type=button] {
    background: #D0D1D4 url(../images/btn_submit.png) repeat-x;
    border: 1px solid #A8A9A8;
    -webkit-box-shadow: 0 1px 0 #fff;
    -moz-box-shadow: 0 1px 0 #fff;
    box-shadow: 0 1px 0 #fff;
    font-weight: bold;
    height: 22px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 0 10px;
    color: #666;
    text-shadow: 0 1px 0 #fff;
    cursor: pointer;
    padding: 6px 19px 10px 20px;
    height: 30px;
}
</style>
<table class="tb_notice" cellpadding='5' cellspacing='0'  style="margin-top: 50px">
<form name='notice' method='post' action='' onsubmit="return check_null();">

<tr>

<tr>
    <td align="right">公告内容:</td>
    <td>
        <textarea id="content"  name="message" cols='50' rows='10'><{$notices.message}></textarea>
    </td>
        <input type="hidden" name="id" value="<{$notices.id}>"/>
</tr>
<tr>
<td></td>
<td align="left">
<input class="btn04" onclick="javascript:history.go(-1);" value="返回" type="button" />
<input class="btn04" value="确定" type="submit" />
</td>
</tr>
</form>
</table>

<script type='text/javascript'>
  function check_null()
{

    var content = document.getElementById('content').value;

    if(content == '')
	{
	    alert('内容不能为空!');
		return false;
    }
	return true;
}
</script>
